﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="first5.aspx.cs" Inherits="Page_example_first5" %>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no" />
		<title>常用就诊人</title>
		<link rel="stylesheet" type="text/css" href="http://wx.witontek.com:80/eHospital/page_mobile/service/9.28/css/reset.css">
        <link rel="stylesheet" type="text/css" href="http://wx.witontek.com:80/eHospital/page_mobile/service/9.28/css/ylt_common.css"/>
        <style type="text/css">
        	body{background-color: #fff; padding: 3% 3%;}
        	.jzr_header p{padding: 0 0 3% 0; text-align: center; font-size: 2.6rem; font-family: "microsoft yahei";}
        	.jzr_wp{margin-bottom: 4%;}
        	.jzr_wp .check_area{width: 12%; position: relative;}
        	.jzr_wp .check_area .jzr_radio{display: block; width: 100%; height: 100%; opacity: 0;}
        	.jzr_wp .check_area .jzr_radio_bg{position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; background: url(/eHospital/page_mobile/service/9.28/css/images/gouxuan2@2x.png) no-repeat; background-position: 50% 50%;}
        	.jzr_wp .check_area .jzr_bg_checked{background: url(/eHospital/page_mobile/service/9.28/css/images/icon_gouxuan@2x.png) no-repeat; background-position: 50% 50%;}
        	.jzr_list{position: relative; border: 1px solid #E5E5E5; border-radius: 5px; padding: 4% 5%;}
        	.jzr_list .jzr_info{margin-top: 4%;}
        	.jzr_vl{width: 72%;word-break: break-all;word-wrap: break-word;}
        	.jzr_list .jzr_tit,.jzr_list .jzr_vl{font-size: 3rem;}
        	.jzr_list .jzr_tit{display: block; width: 26.5%;}
        	.jzr_list .jzr_absicon{position: absolute; width: 20%; height: 100%; top: 0; right: 0;}
        	.jzr_list .jzr_absicon img{width: 50%; margin-top: 25%;}
        	
        	.jzr_line img,.jzr_line span{display: block; font-size: 3rem;}
        	.jzr_line img{width: 1.5rem; height: 1.5rem; margin: 0 4% 0 0;}
        	.jzr_line .jzr_name{margin-right: 5%;}
        	.jzr_line .jzr_tips{font-size: 2.6rem; font-family: "microsoft yahei";}
        	
        	.jzr_foot{padding: 4% 0;}
        	/*无报告时的样式*/
        	.no_fee_bg{text-align: center; margin-top: 35%;}
        	.tips{text-align: center; line-height: 3.5rem; font-size: 3rem; font-family: "microsoft yahei"; margin-top: 10%;}
        	.tips strong{font-size: 2.8rem; font-weight: normal;}
        	.tips span{font-size: 2.5rem;}
        </style>
	</head>
	<body>
		
			<header class="no_fee_bg">
				<img src="http://wx.witontek.com:80/eHospital/page_mobile/service/9.28/images/no_report.png"/>
			</header>
			<p class="tips">
				您尚未添加就诊人，请先添加哦
			</p>
		
		
		
		
			<footer class="jzr_foot">
				<!--a标签的href属性可以直接写跳转地址-->
				<a href="/eHospital/weixin/patientsWx_forAdd.action?subType=0&amp;patients.patientId=&amp;departmentId=17b7b01d484b4794870fc2765bc7d56b&amp;doctorId=ee9f0f58c71f4ddb849199ff807dc082&amp;checkedtime=2017-02-10" class="u-btn u-btn-green u-btn-lg">添加就诊人</a>
			</footer>
		
		﻿

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no" />
        <style type="text/css">
			#footclass2{
				width: 100%;margin-left: auto;margin-right: auto;padding:10px 0 5px;bottom: 3px;
			}
			#footclass2>p{display: inline-block; width: 100%;color: #989898; text-align: center;  font-size: 14px; font-family: "microsoft yahei"}
        </style>
	</head>
	<body>
		
		
		
		
		<footer id="footclass2">
			<p>技术支持：睿博科技</p>
		</footer>
		

		<script type="text/javascript">
			
			
			
			function toFixFoot(){
				
			    var footEnd = document.getElementById("footclass2");
			    	footEnd.style.position = 'static';
//			    _window=window.screen.height;

			    var clientH = document.documentElement.clientHeight;
			    var bodyH = document.getElementsByTagName('body')[0].offsetHeight;
//			   alert('clientH'+clientH)
//			   alert('bodyH'+bodyH)
			   if(bodyH<=clientH){ //如果body高度小于视口高度,则页脚绝对定位
			    	footEnd.style.position = 'fixed';
			    	footEnd.style.bottom = '0px';
			    	
			    }else{
			    	footEnd.style.position = 'static';
			    	
			    	
			    }
			};
			
			window.onload = function(){
				toFixFoot();
			};
			
			window.onresize = function(){
//				toFixFoot();
				setTimeout(toFixFoot,100)
			};
			
			window.onclick=function(){
				toFixFoot();
			}
			
		</script>
	</body>
</html>
	</body>
	<script src="http://wx.witontek.com:80/eHospital/page_mobile/service/9.28/js/jquery-1.10.2.min.js"></script>
	<script type="text/javascript">
		$('.check_area').click(function(){
			if($(this).find('.jzr_radio_bg').hasClass('jzr_bg_checked')){
				$(this).find('.jzr_radio_bg').removeClass('jzr_bg_checked');
			}else{
				$('.jzr_radio_bg').removeClass('jzr_bg_checked');
				$(this).find('.jzr_radio_bg').addClass('jzr_bg_checked');
				window.location.href=''; //选择某位就诊人后，直接转回之前的页面；
			}
		});
	</script>
</html>
